body {
    background-color: #f8f9fa;
}

.container {
    background-color: white;
    max-width: 800px;
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
    color: #6c757d;
}

.nav-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    border-bottom: 3px solid #0d6efd;
}

.tab-content {
    border: 1px solid #dee2e6;
    border-top: none;
    padding: 2rem;
    border-bottom-left-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

.profile-form .form-label {
    font-weight: 600;
}

#avatar-container #avatar-overlay {
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

#avatar-container:hover #avatar-overlay {
    opacity: 1;
}

.form-control, .btn {
    transition: all 0.3s ease-in-out;
}

.form-control:focus {
    box-shadow: 0 0 5px rgba(13, 110, 253, 0.25);
    border-color: #86b7fe;
}

.alert {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.alert.show {
    opacity: 1;
}

.rounded-circle {
    border: 3px solid #dee2e6;
}

.btn-primary {
    padding: 10px 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    .tab-content {
        padding: 1rem;
    }
}

